<?php



namespace api\web\model;


use think\Model;


class NewsModel extends Model
{
    protected $name = 'news';
    protected $autoWriteTimestamp = 'datetime';
    public function getImageAttr($value)
    {
        return  cmf_get_image_url($value);
    }
}

